[. . . ] Technical Reference
January 2007
www. lexmark. com
Lexmark and Lexmark with diamond design are trademarks of Lexmark International, Inc. , registered in the United States and/or other countries. 740 West New Circle Road Lexington, Kentucky 40550
Edition: January 2007
The following paragraph does not apply to any country where such provisions are inconsistent with local law: LEXMARK INTERNATIONAL, INC. , PROVIDES THIS PUBLICATION "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Some states do not allow disclaimer of express or implied warranties in certain transactions; therefore, this statement may not apply to you. This publication could include technical inaccuracies or typographical errors. [. . . ] This operator is equivalent to executing the following PostScript emulation sequence: (%disk1%) currentdevparams /Writeable get Error: stackoverflow
4-21
PostScript
diskstatus
-- diskstatus free logicalsize
returns on the stack the following two integers: · Number of pages that are free on the optional disk. · Total number of pages (1024 bytes) that are on the optional disk. The value of the LogicalSize device parameter from the %disk1% IODevice. This operator is equivalent to executing the following PostScript emulation sequence:
(%disk1%) currentdevparams dup /Free get exch /LogicalSize get
Error: stackoverflow
displayoperatormsg
(string) displayoperatormsg
sets a custom paper message. Errors: stackunderflow, typecheck
doidlefonts
-- doidlefonts false
returns a constant boolean value of false. Error: stackoverflow
4-22
PostScript
dojamrecovery
-- dojamrecovery boolean
queries the user default setting of the Jam Recovery menu item. A boolean value is returned on the stack:
true false
reprint jammed page (Jam Recovery is set to On) (default) do not reprint jammed page (Jam Recovery is set to Off)
This operator is equivalent to executing the following PostScript emulation sequence: currentpagedevice /ExitJamRecovery get Error: stackoverflow
doprinterrors
-- doprinterrors boolean
returns a boolean with the same value as the system parameter DoPrintErrors. It also indicates the current value of the Print PS Error printer setting. The DoPrintErrors system parameter must be present for the doprinterrors operator to be present. Error: stackoverflow
doret
-- doret integer
returns the PQET setting for the current print job. An integer value is returned on the stack:
0 1
Off On
Note: For printers that do not support PQET, doret returns a 0. This operator is equivalent to executing the following PostScript emulation sequence:
currentpagedevice /PostRenderingEnhanceDetails get /REValue get
Error: stackoverflow
4-23
PostScript
dostartpage
-- dostartpage boolean
returns a boolean with the same value as the system parameter DoStartPage. The DoStartPage system parameter must be present for the compatibility operator dostartpage to be present. Error: stackoverflow
dosysstart
-- dosysstart boolean
returns the current value of the StartupMode system parameter. A boolean value is returned:
true false
StartupMode set to 1 or 11 StartupMode other than 1 or 11
This operator is equivalent to executing the following PostScript emulation sequence: currentsystemsparams /StartupMode get Error: stackoverflow
duplexer
-- duplexer boolean
queries if a duplex unit is installed. A boolean value is returned on the stack:
true false
duplex unit is installed duplex unit is not installed
Note: For printers that do not support duplexing, this value is always false. Error: stackoverflow
4-24
PostScript
duplexmode
-- duplexmode boolean
queries the current value for the Duplex page device parameter.
true false
printing mode is duplex printing mode is simplex
Note: For printers that do not support duplexing, this value is always false. This operator is equivalent to executing the following PostScript emulation sequence: currentpagedevice /Duplex get Error: stackoverflow
enginesync
-- enginesync boolean
indicates if the printer waits for the last page of a job to print before returning a Ctrl-D to the host computer. Error: stackoverflow
4-25
PostScript
file
filename access file file
creates a file object with specified filename and access. The access values are:
r w a r+ w+ a+
open the file for reading only create a file if one does not already exist, or truncate and overwrite it if it does exist. create a file if one does not already exist or append it if it does exist. create a file if it does not already exist, or truncate and overwrite if it does exist. [. . . ] X642e Printer Model
Key BeginPage Collate DeviceRenderingInfo · TonerSaver · ImageEnhancement · PrintDarkness · EdgeToEdge · SubstituteSize · ColorCorrection · ImageBrightness · ImageContrast Duplex EndPage ExitJamRecovery HWResolution ImagingBBox
Page 4-48 4-48 4-48 4-49 4-49 4-49 4-50 4-50 4-51 4-51 4-51 4-51 4-51 4-51 4-51 4-51
C-5
PostScript Support
Table C-2: Page Device Parameters (Continued)
Supported Not Supported Page numbers reference parameter descriptions. X642e Printer Model X644e X646e X850e X852e X854e
Key InputAttributes · 0 - Tray 1 · 1 - Tray 2 · 2 - Envelope Feeder · 3 - Tray 3 · 4 - Multipurpose Feeder · 5 - Tray 4 · 6 - Tray 5 PageSize MatchAll MediaColor MediaType MediaWeight InputLocation · Mode · Priority Install Jog ManualFeed ManualFeedTimeout MediaColor MediaPosition MediaType MediaWeight NumCopies Nup NupDetails · Rows · Columns · Orientation
Page 4-52 4-52 4-52 4-52 4-52 4-52 4-52 4-52 4-52 4-52 4-52 4-52 4-52 4-52 4-53 4-53 4-53 4-53 4-54 4-54 4-54 4-54 4-54 4-54 4-54 4-54 4-55 4-55 4-55 4-55
C-6
PostScript Support
Table C-2: Page Device Parameters (Continued)
Supported Not Supported Page numbers reference parameter descriptions. X642e Printer Model X644e X646e X850e X852e X854e
Key · Border · Order · Type · LandscapeOverride OutputAttributes · 0 - Standard Bin · 1 - Optional Bin 1 · 2 - Optional Bin 2 · 3 - Optional Bin 3 · 4 - Optional Bin 4 · 5 - Optional Bin 5 · 6 - Optional Bin 6 · 7 - Optional Bin 7 · 8 - Optional Bin 8 · 9 - Optional Bin 9 · 10 - Optional Bin 10 OutputType OutputLocation OutputPage OutputType PageDeviceName PageSize Policies · PolicyNotFound · PolicyReport · PageSize PostRenderingEnhance PostRenderingEnhanceDetails · REValue · Type
Page 4-56 4-56 4-56 4-56 4-57 4-57 4-57 4-57 4-57 4-57 4-57 4-57 4-57 4-57 4-57 4-57 4-57 4-57 4-57 4-57 4-57 4-58 4-58 4-58 4-58 4-58 4-58 4-58 4-58 4-58
C-7
PostScript Support
Table C-2: Page Device Parameters (Continued)
Supported Not Supported Page numbers reference parameter descriptions. X642e Printer Model X644e X646e X850e X852e X854e X644e X646e X850e X852e X854e
Key PowerSave ProcessColorModel Punch SlipSheet SlipSheetDetails · SlipSheetSource · Type Staple TraySwitch Tumble UniversalDetails · Type · PageSize · Orientation · Prompt
Page 4-59 4-59 4-59 4-59 4-60 4-60 4-60 4-60 4-60 4-61 4-61 4-61 4-61 4-61 4-61
Table C-3: User Interpreter Parameters
Supported Not Supported Page numbers reference parameter descriptions. [. . . ]